/*
 * InterestBO.java
 *
 * Created on February 13, 2007, 1:49 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package Data;

/**
 *
 * @author Danny Beutler
 */
public class InterestBO {
    private String id;
    private String Description;
    private boolean alreadyInDB=false;
    private boolean dirty =true;
    
    /** Creates a new instance of InterestBO */
    public InterestBO(String GUID) {
        this.id=GUID;
    }
    
    /** Gets the interest GUID */
    public String getId() {
        return id;
    }
    
    /** Gets the interest Description */
    public String getDescription() {
        return Description;
    }
    
    /** Sets the member GUID */
    public void setDescription(String Description) {
        dirty=true;
        this.Description = Description;
    }
    
    /** Get the interest's already in database boolean */
    public boolean isAlreadyInDB() {
        return alreadyInDB;
    }
    
    /** Set the interest's already in database boolean */
    public void setAlreadyInDB(boolean alreadyInDB) {
        this.alreadyInDB = alreadyInDB;
    }
    
    /** Get the interest's dirty boolean */
    public boolean isDirty() {
        return dirty;
    }
    
    /** Set the interest's Dirty boolean */
    public void setDirty(boolean dirty) {
        this.dirty = dirty;
    }
}
